package com.klb.service.admin.impl;

import com.klb.service.admin.QuitServiceAdmin;
import com.klb.tools.Sessions;
import com.klb.tools.Tools;

/**
 * Created by fujia on 2016/7/2.
 */
public class QuitServiceAdminImpl implements QuitServiceAdmin {
	
	
    @Override
    public boolean quitIsSuccess() {
        if (!Tools.objectIsNullOrNot(Sessions.getSession("adminId"))){
            Sessions.removeSession("adminId");
            return true;
        }

        return false;
    }
}
